<style>
<!--
td
{
text-align:center;
}
-->
</style>
<form name='adminForm' action='index.php?option=com_svquanlycanbo&view=canbo' method='post'>
	<input type='hidden' name='task' />
	<input type="hidden" name="boxchecked" value="0" />
	<div id="editcell">
		<table class='adminlist'>
			<thead>
				<tr>
					<th width="50">#</th>
					<th width="50"><input type="checkbox" name="toggle" value="" onclick="checkAll(10);"></th>
					<th width="100">Hình ảnh</th>
					<th width="150">Tên</th>
					<th width="50">Năm sinh</th>
					<th width="150">Chức vụ</th>
					<th width="150">Phòng ban</th>
					<th width="150">Chức danh</th>
					<th >Địa chỉ</th>
					<th width="50">ID</th>
				</tr>
			</thead>
			<tbody>
				<?php 
					$i=0;
					$k=0;
					foreach($this->dataObject as $record)
					{
						$checked     = JHTML::_('grid.id',   $k ,$record->cb_id);
						$k=$k+1;
						echo '<tr class="row'.$i.'">';
							echo '<td width="50">'.$k.'</td>';
							echo '<td width="50">'.$checked.'</td>';
							echo '<td width="100">
							     <img width="120" height="120" src="'.$record->cb_hinhanh.'" alt="svbongda" /> 
								</td>';
							echo '<td width="150"><a href="index.php?option=com_svquanlycanbo&view=canbo&action=edit&idcanbo='.$record->cb_id.'" >'.$record->cb_ten.'</a></td>';
							echo '<td width="50">'.$record->cb_namsinh.'</td>';
							echo '<td width="150">'.$record->chucvu.'</td>';
							echo '<td width="150">'.$record->phongban.'</td>';
							echo '<td width="150">'.$record->chucdanh.'</td>';
							echo '<td >'.$record->cb_diachi.'</td>';
							echo '<td width="50">'.$record->cb_id.'</td>';
						echo '</tr>';
						$i=1-$i;	
					}

				?>
			</tbody>
		</table>
	</div>
</form>